projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfabd09
)
(dabbrev--search): Use inhibit-point-motion-hooks.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 18 Jul 2002 15:00:01 +0000
(15:00 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 18 Jul 2002 15:00:01 +0000
(15:00 +0000)
lisp/dabbrev.el
patch
|
blob
|
history
diff --git
a/lisp/dabbrev.el
b/lisp/dabbrev.el
index f2beb01124735f5e4b9c52285fc4670f76056037..9dba5d61ebed7385ecf95588d5fd0a40076c2952 100644
(file)
--- a/
lisp/dabbrev.el
+++ b/
lisp/dabbrev.el
@@
-972,6
+972,9
@@
Leaves point at the location of the start of the expansion."
"\\(" dabbrev--abbrev-char-regexp "\\)"))
(pattern2 (concat (regexp-quote abbrev)
"\\(\\(" dabbrev--abbrev-char-regexp "\\)+\\)"))
+ ;; This makes it possible to find matches in minibuffer prompts
+ ;; even when they are "inviolable".
+ (inhibit-point-motion-hooks t)
found-string result)
;; Limited search.
(save-restriction